const NodeMediaServer = require('node-media-server');

const config = {
  rtmp: {
    port: 1935,
    chunk_size: 60000,
    gap_cache: true,
    ping: 60,
    ping_timeout: 30,
  },

  http: {
    port: 85,
    allow_origin: '*',
  },
};

let nms = new NodeMediaServer(config);

nms.run();
